package EmailProcess;

import java.io.IOException;
import java.io.InputStream;

public class ExecuteExportPO {
    public ExecuteExportPO() {
        final String dosCommand = "cmd /c c:\\windows\\system32\\exprtpo.cmd ";
        final String location = "C:\\WINDOWS";
        try {
            final Process process = Runtime.getRuntime().exec(
                    dosCommand + " " + location);
            final InputStream in = process.getInputStream();
            int ch;
            while((ch = in.read()) != -1) {
                //System.out.print((char)ch);
            }
        } catch (IOException e) {
            e.printStackTrace();
        }

    }

}